import router from '../router'

export function gotoNewWindow(articleId,divState,routerName){
    let articleData=router.resolve({
        path:'/'+routerName+'/'+divState+'/'+articleId
    })
    window.open(articleData.href,"_blank")
}